Network printer detection from wifi client to print-server->router

Daniele Guerrieri d.guerrieri at gmail.com
Fri Jun 17 05:29:34 UTC 2011


On Thu, Jun 16, 2011 at 4:07 PM, Tim Waugh <twaugh at redhat.com> wrote:
> Perhaps there is a difference in the firewall settings between PC1 and
> PC2?
uhm, i don't think because system-config-printer automatically setup
firewall for printing in the same way (trusted services: mDns, IPP
client/server).


> Do you know what protocol the print server router is using to advertise
> the printer on the network?  It might be SNMP (i.e. responding to SNMP
> broadcast requests), or mDNS, or possibly NetBIOS/SMB.
>
in system-config-printer i can read "lpd network printer via DNS-SD";
this is a fragment of the dump, maybe it is mDNS?:

""""""
07:17:47.608766 ARP, Request who-has 192.168.0.50 tell 192.168.0.2, length 28
07:17:47.609379 IP 192.168.0.2.43194 > 192.168.0.1.domain: 37448+ PTR?
50.0.168.192.in-addr.arpa. (43)
07:17:47.611605 ARP, Reply 192.168.0.50 is-at 00:22:b0:8a:8e:62 (oui
Unknown), length 46
07:17:47.611633 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[S], seq 2329149880, win 14600, options [mss 1460,sackOK,TS val 206209
ecr 0,nop,wscale 6], length 0
07:17:47.615046 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[S.], seq 1522585684, ack 2329149881, win 5792, options [mss
1460,sackOK,TS val 51344 ecr 206209,nop,wscale 0], length 0
07:17:47.615144 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[.], ack 1, win 229, options [nop,nop,TS val 206216 ecr 51344], length
0
07:17:47.616020 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[F.], seq 1, ack 1, win 229, options [nop,nop,TS val 206217 ecr
51344], length 0
07:17:47.617881 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 206219 ecr
0,nop,wscale 6], length 0
07:17:47.622120 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[.], ack 2, win 5792, options [nop,nop,TS val 51345 ecr 206217],
length 0
07:17:47.636818 IP 192.168.0.1.domain > 192.168.0.2.43194: 37448
NXDomain* 0/1/0 (93)
07:17:47.833627 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[F.], seq 1, ack 2, win 5792, options [nop,nop,TS val 51360 ecr
206217], length 0
07:17:47.833766 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[.], ack 2, win 229, options [nop,nop,TS val 206435 ecr 51360], length
0
07:17:50.622773 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 209224 ecr
0,nop,wscale 6], length 0
07:17:50.905591 IP 192.168.0.1.router > 192.168.0.255.router: RIPv1,
Response, length: 24
07:17:52.614734 ARP, Request who-has 192.168.0.1 tell 192.168.0.2, length 28
07:17:52.616216 ARP, Reply 192.168.0.1 is-at 00:1e:2a:f5:13:ec (oui
Unknown), length 28
07:17:56.630766 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 215232 ecr
0,nop,wscale 6], length 0
07:17:58.586964 IP 192.168.0.50.mdns > 224.0.0.251.mdns: 0*- [0q]
6/0/0 (Cache flush) TXT "", PTR _http._tcp.local., PTR
DIR-120-HTTP._http._tcp.local., (Cache flush) TXT "rp=lp1" "qtotal=2",
PTR _printer._tcp.local., PTR Samsung SCX-4300 Series
1457BFAQA01583V.._printer._tcp.local. (211)
07:18:08.662766 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 227264 ecr
0,nop,wscale 6], length 0
07:18:20.908466 IP 192.168.0.1.router > 192.168.0.255.router: RIPv1,
Response, length: 24
07:18:32.726777 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 251328 ecr
0,nop,wscale 6], length 0
07:18:37.734774 ARP, Request who-has 192.168.0.50 tell 192.168.0.2, length 28
07:18:37.736961 ARP, Reply 192.168.0.50 is-at 00:22:b0:8a:8e:62 (oui
Unknown), length 46

""""""

Thanks, Daniele Guerrieri


More information about the users mailing list